Fix simulator boot (uses old bootparam format with no initrd)
authordjm@kirby.fc.hp.com <djm@kirby.fc.hp.com>
Mon, 19 Dec 2005 21:18:54 +0000 (15:18 -0600)
committerdjm@kirby.fc.hp.com <djm@kirby.fc.hp.com>
Mon, 19 Dec 2005 21:18:54 +0000 (15:18 -0600)
xen/arch/ia64/xen/xensetup.c

index 9dbec8173210ced030b1d06b0b260e68f4e7b254..916dc58270f4ae813c6e3d85a9f6d508cbda96aa 100644 (file)
@@ -191,7 +191,7 @@ void start_kernel(void)
     firsthole_start = 0;
     efi_memmap_walk(xen_find_first_hole, &firsthole_start);
 
-    if (ia64_boot_param->domain_start == 0
+    if (running_on_sim || ia64_boot_param->domain_start == 0
        || ia64_boot_param->domain_size == 0) {
            /* This is possible only with the old elilo, which does not support
               a vmm.  Fix now, and continue without initrd.  */